<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>测试工具箱</title>
{#    <link href="/static/bootstrap/bootstrap.min.css" rel="stylesheet">#}
{#    <script src="/static/js/jquery-3.0.0.min.js"></script>#}
{#    <script src="/static/js/bootstrap.min.js"></script>#}
    <link rel="stylesheet" href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css">
    <script src="http://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script>
    <script src="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
<header>
    <nav class="navbar navbar-default">
        <div class="container-fluid">
            <!-- Brand and toggle get grouped for better mobile display -->
            <div class="navbar-header">
                <a class="navbar-brand" href="{% url 'index' %}">测试工具箱</a>
            </div>
            <!-- Collect the nav links, forms, and other content for toggling -->
            <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                <ul class="nav navbar-nav">
                    <li><a href="#">Web端测试</a></li>
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"
                           aria-expanded="false">移动端测试 <span class="caret"></span></a>
                        <ul class="dropdown-menu">
                            <li><a href="{% url 'mobilebaseinfo' %}">Android——基本信息</a></li>
                            <li><a href="{% url 'checkinfo' %}">Android——CPU/内存/流量监控</a></li>
                            <li><a href="{% url 'commonfunction' %}">Android——常用功能</a></li>
                            <li role="separator" class="divider"></li>
                            <li><a href="#">IOS</a></li>
                        </ul>
                    </li>
                    <li><a href="#">接口测试</a></li>
                    <li><a href="#">抓包测试</a></li>
                    <li><a href="{% url 'bugrecord' %}">缺陷记录</a></li>
                    <li><a href="{% url 'idcardquery' %}">身份证生成</a></li>
                    <li><a href="{% url 'kxiantu' %}">K线图</a></li>
                </ul>
            </div><!-- /.navbar-collapse -->
        </div><!-- /.container-fluid -->
    </nav>
</header>
{% block body %}

{% endblock %}
</body>
<script>
    $(function () {
        $(window).scroll(function () {
            if ($(this).scrollTop() != 0) {
                $("#toTop").fadeIn();
            } else {
                $("#toTop").fadeOut();
            }
        });
        $("body").append("<div id=\"toTop\" style=\"border:1px solid #444;background:#333;color:#fff;text-align:center;padding:10px 13px 7px 13px;position:fixed;bottom:10px;right:10px;cursor:pointer;display:none;font-family:verdana;font-size:22px;\">^</div>");
        $("#toTop").click(function () {
            $("body,html").animate({scrollTop: 0}, 800);
        });
    })
</script>
</html>